[#ftl]
[#--显示顶部菜单，默认显示第一个--]
[#macro datTopMenu current="1"]
[/#macro]
[#--左侧菜单 --]
[#macro dataLeftMenu current="1"]
[/#macro]

[#macro spotsCategoryLeftMenu resource,current="1"]
    [@menuProductCagegory/]
    [#if menuProductCagegorys??]<li class="second_data"><ul>
    [#list menuProductCagegorys as cagetory]
            <li class="third_data">
                <a href="###" value="${cagetory.id}">${cagetory.name}</a>
            </li>
            [#if cagetory.productList??][#list cagetory.productList as product]
                <li><dl class="dl-horizontal">
                        <dt><a href="###" value="${product.id}" catid="${cagetory.id}">${product.name}</a></dt>
                        <dd><a href="###" value="0" product="${product.id}">全部</a>
                            [#if product.specsList?? && product.specsList?size>0]
                            
                            [#list product.specsList as spec]
                            <a href="###" value="${spec.id}" product="${product.id}">${spec.name}</a>
                            [/#list]
                       
                            [/#if]
                        </dd>
                </dl></li>
            [/#list][/#if]
       
    [/#list]
     </ul></li>
    [/#if]
[/#macro]

